package org.suwenqian.audiovideosummary.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.suwenqian.audiovideosummary.common.enums.ProcessStepEnum;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("progress_log")
public class ProgressLog {
    /**
     * 日志ID
     */
    private Long id;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 步骤标识
     */
    private ProcessStepEnum step;

    /**
     * 进度百分比(0-100)
     */
    private Integer percent;

    /**
     * 日志消息
     */
    private String message;

    /**
     * 创建时间
     */
    private Date createdAt;
}
